package com.example.bookstore.form.userform;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class ChangePwdForm {

    @NotNull(message = "用户id不能为空")
    private Integer userId;

    @NotNull(message = "旧密码不能为空")
    private String oldPwd;

    @NotNull(message = "新密码不能为空")
    private String newPwd;

}
